package com.example.application.bean;

import java.io.Serializable;
import java.util.List;

/**
 *门店类
 */
public class Store implements Serializable {
    //门店id
    private Integer id;
    //门店名称
    private String name;
    //营业执照号码
    private String licenseNum;
    //营业执照图片
    private String licensePic;
    //营业地址
    private String address;
    //定位(经纬度)
    private String location;
    //所在城市
    private String city;
    //法人
    private String corporation;
    //联系电话
    private String telNum;
    //一寸免冠照
    private String photo;
    //特色
    private String feature;
    //VIP等级
    private String vipLevel;
    //佣金比例(vip等级越高，佣金比例越低)
    private double commissionRate;
    //店员属性(多少人)
    private String clerkAttri;
    //门店管理员
    private User user;
    //服务集合
    private List<Service> services;
    //商品集合
    private List<StoGoods> stoGoods;
    //供货商的商品集合(一般比自己的商品便宜)
    private List<SupGoods> supGoods;
    //评价集合
    private List<Comment> comments;
    //订单集合
    private List<Order> orders;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLicenseNum() {
        return licenseNum;
    }

    public void setLicenseNum(String licenseNum) {
        this.licenseNum = licenseNum;
    }

    public String getLicensePic() {
        return licensePic;
    }

    public void setLicensePic(String licensePic) {
        this.licensePic = licensePic;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getTelNum() {
        return telNum;
    }

    public void setTelNum(String telNum) {
        this.telNum = telNum;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(String vipLevel) {
        this.vipLevel = vipLevel;
    }

    public double getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(double commissionRate) {
        this.commissionRate = commissionRate;
    }

    public String getClerkAttri() {
        return clerkAttri;
    }

    public void setClerkAttri(String clerkAttri) {
        this.clerkAttri = clerkAttri;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Service> getServices() {
        return services;
    }

    public void setServices(List<Service> services) {
        this.services = services;
    }

    public List<StoGoods> getStoGoods() {
        return stoGoods;
    }

    public void setStoGoods(List<StoGoods> stoGoods) {
        this.stoGoods = stoGoods;
    }

    public List<SupGoods> getSupGoods() {
        return supGoods;
    }

    public void setSupGoods(List<SupGoods> supGoods) {
        this.supGoods = supGoods;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }

    @Override
    public String toString() {
        return "Store{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", licenseNum='" + licenseNum + '\'' +
                ", licensePic='" + licensePic + '\'' +
                ", address='" + address + '\'' +
                ", location='" + location + '\'' +
                ", city='" + city + '\'' +
                ", corporation='" + corporation + '\'' +
                ", telNum='" + telNum + '\'' +
                ", photo='" + photo + '\'' +
                ", feature='" + feature + '\'' +
                ", vipLevel='" + vipLevel + '\'' +
                ", commissionRate=" + commissionRate +
                ", clerkAttri='" + clerkAttri + '\'' +
                ", user=" + user +
                ", services=" + services +
                ", stoGoods=" + stoGoods +
                ", supGoods=" + supGoods +
                ", comments=" + comments +
                ", orders=" + orders +
                '}';
    }
}